package mapper;

import POJO.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BooksMapper {
    List<Books> selAll(@Param("a") Integer a,@Param("b") String b, @Param("currPageNo") int currPageNo,@Param("pageSize") int pageSize);
    int add(Books book);
    int count (@Param("a") Integer a,@Param("b") String b);
Books selbyId(@Param("bookId") Integer bookId);
    int updateById(Books books);
    int deleteById(Books books);

}
